Package-level declarations

Types

Link copied to clipboard
object AllColors

Every color defined for the app.

Link copied to clipboard

Selects 1 of 12 ColorSchemes.

Link copied to clipboard
object AppFonts

Fonts provided by the app.

Link copied to clipboard

Determines if the app is displayed in a light or dark theme or handled by the device.

Link copied to clipboard

Defines a ColorScheme for each of the AppColor values for the AppTheme.Light and AppTheme.Dark themes.

Link copied to clipboard
data class Ratio(val tenth: Float = 0.1f, val fifth: Float = 0.2f, val quarter: Float = 0.25f, val trenth: Float = 0.3f, val third: Float = 0.33f, val tetrenth: Float = 0.4f, val half: Float = 0.5f, val hexenth: Float = 0.6f, val twothirds: Float = 0.66f, val septenth: Float = 0.7f, val triquarts: Float = 0.75f, val octenth: Float = 0.8f, val nonenth: Float = 0.9f)

Names for some common fractions between 0 and 1.

Link copied to clipboard
data class TextContrast(val high: Color = Color.Unspecified, val med: Color = Color.Unspecified, val low: Color = Color.Unspecified)

Used for easily accessing black and white colors when contrast matters.

Functions

Link copied to clipboard
fun BPMTapperTheme(settings: SettingsState = SettingsState(), content: @Composable () -> Unit)

Sets the theme for the app depending on the SettingsState values.

Link copied to clipboard

Changes the font family used in base to fontFam